package com.yuanfud.user.service.impl;

import com.yuanfud.common.exception.RestException;
import com.yuanfud.entity.user.WebsiteConfig;
import com.yuanfud.user.mapper.WebsiteConfigMapper;
import com.yuanfud.user.service.WebsiteInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("WebsiteInfoService")
public class WebsiteInfoServiceImpl implements WebsiteInfoService {
    @Autowired
    WebsiteConfigMapper websiteConfigMapper;
    @Override
    public WebsiteConfig getWebsiteInfo() throws RestException{
        return websiteConfigMapper.getWebsiteInfo();
    }
}
